Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDispatcher


GetMouseRegion

Document Shell
Mac OS

The GetMouseRegion method returns the current mouse region used in dispatching mouse-enter, mouse-within, and mouse-leave events.

ODRgnHandle GetMouseRegion ();
return value
The current mouse region, expressed in QuickDraw global coordinates.
DISCUSSION
The document shell and container applications call this method to get the mouse region that the dispatcher uses to report mouse-enter, mouse-within, or mouse-leave events.

If your part does not want to use the default region (1-by-1 pixel), it should call the dispatcher's SetMouseRegion method from its routine for handling mouse-enter, mouse-within, or mouse-leave events.

SEE ALSO
The ODRgnHandle type (page 884).
The ODDispatcher::SetMouseRegion method (page 124).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help